Google\Native_Lazyload\Lazy_Loader S

Total Complexity 35
Dependencies 2
Dependents 1
Total lines 343
Lines of code 158
Logical lines of code 88
Comment lines 128
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
filter_add_lazyload_placeholders()
S
49 7 30
register()
S
47 6 38
filter_lazyload_attributes()
S
60 6 13
filter_lazyload_attributes_for_js_fallback()
S
55 5 20
build_attributes_string()
S
60 2 15
has_blacklisted_class()
S
66 3 9
fallback_script_enabled()
S
70 2 6
__construct()
S
81 1 3
add_lazyload_filters()
S
66 1 8
remove_lazyload_filters()
S
66 1 8
parse_attributes_string()
S
67 1 8